package com.xtaller.lazy.model.base;

import com.baomidou.mybatisplus.annotation.TableField; 
import com.baomidou.mybatisplus.annotation.TableName; 
import com.xtaller.lazy.lib.annotation.Table; 
import lombok.Data; 
import lombok.Data; 
/** 
* 代码生成 
* @author: Taller  
* @date: 2019/04/03
* @Description: 用户信息表 
*/ 
@Data 
@TableName(value = "base_user") 
@Table(id = 100) 
public class User { 
    //@ApiModelProperty(value = "用户id") 
    @TableField(value = "id") 
    private Long id;

    //@ApiModelProperty(value = "自增id") 
    @TableField(value = "autoId") 
    private Long autoId;

    //@ApiModelProperty(value = "uuid") 
    @TableField(value = "uuid") 
    private String uuid;

    //@ApiModelProperty(value = "账号") 
    @TableField(value = "loginName") 
    private String loginName;

    //@ApiModelProperty(value = "密码") 
    @TableField(value = "password") 
    private String password;

    //@ApiModelProperty(value = "密码混淆") 
    @TableField(value = "salt") 
    private String salt;

    //@ApiModelProperty(value = "用户类型 1管理用户 2CMS用户 3Shop用户") 
    @TableField(value = "type") 
    private int type;

    //@ApiModelProperty(value = "真实姓名") 
    @TableField(value = "trueName") 
    private String trueName;

    //@ApiModelProperty(value = "昵称") 
    @TableField(value = "nickName") 
    private String nickName;

    //@ApiModelProperty(value = "头像") 
    @TableField(value = "avatar") 
    private String avatar;

    //@ApiModelProperty(value = "性别") 
    @TableField(value = "sex") 
    private String sex;

    //@ApiModelProperty(value = "手机号") 
    @TableField(value = "phone") 
    private String phone;

    //@ApiModelProperty(value = "邮箱") 
    @TableField(value = "email") 
    private String email;

    //@ApiModelProperty(value = "邮箱是否验证，0未验证，1已验证") 
    @TableField(value = "emailVerified") 
    private int emailVerified;

    //@ApiModelProperty(value = "状态，0正常，1冻结") 
    @TableField(value = "state") 
    private int state;

    //@ApiModelProperty(value = "Jwt认证信息") 
    @TableField(value = "jwt") 
    private String jwt;

    //@ApiModelProperty(value = "创建者id") 
    @TableField(value = "createId") 
    private Long createId;

    //@ApiModelProperty(value = "创建时间") 
    @TableField(value = "createTime") 
    private int createTime;

    //@ApiModelProperty(value = "修改者id") 
    @TableField(value = "updateId") 
    private Long updateId;

    //@ApiModelProperty(value = "修改时间") 
    @TableField(value = "updateTime") 
    private int updateTime;

    //@ApiModelProperty(value = "乐观锁") 
    @TableField(value = "version") 
    private int version;

    //@ApiModelProperty(value = "逻辑删除 1删除 0正常") 
    @TableField(value = "isDelete") 
    private int isDelete;

} 
